package com.example.service;

import com.example.dao.ProblemCaseDao;
import com.example.dao.ProblemDao;
import com.example.model.pojo.ProblemCase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description //TODO
 * @Date 2022/9/15 18:27
 * @Author lonng
 **/
@Service
public class ProblemCaseServiceImpl implements ProblemCaseService{
    @Autowired
    private ProblemCaseDao problemCaseDao;
    @Override
    public List<ProblemCase> findAllByPid(Integer pid) {
        return problemCaseDao.findAllByPid(pid);
    }
}
